import request from "@/utils/request.js";
// 推荐新音乐
export const getNewsong = () => {
  return request({
    method: "GET",
    url: "/personalized/newsong"
  });
};
// 获取音乐列表详情
export const getplaylisSongdetail = params => {
  return request({
    method: "GET",
    url: "song/detail",
    params
  });
};
// 获取音乐歌词
export const getMusicLyric = params => {
  return request({
    method: "GET",
    url: "/lyric",
    params
  });
};
// 获取音乐评论
export const getMusicComment = params => {
  return request({
    method: "GET",
    url: "/comment/music",
    params
  });
};
// 获取新歌速递
export const geToptMusic = params => {
  return request({
    method: "GET",
    url: "/top/song",
    params
  });
};
// 获取音乐播放地址
export const getMusicUrl = params => {
  return request({
    method: "GET",
    url: "/song/url",
    params
  });
};
